package com.muyu.system.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import com.muyu.danmo.domain.DanmoInformationBasic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 店铺关注对象 danmo_user_store
 * 
 * @author  yangle
 * @date 2025-03-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoUserStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id自增唯一id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long storeId;

    /**  0 - 正常 1 - 取消关注  */
    @Excel(name = " 0 - 正常 1 - 取消关注 ")
    private Long isDeleted;

    private List<DanmoInformationBasic> danmoInformationBasics;


    private  DmShoppingStore dmShoppingStore;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("storeId", getStoreId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
